 
#include "../Headers/day07_virtual.h" 
#include "template.cpp" 
int main(int argc, char *argv[]){  
    base b;
    long vir = (*(long *)&b);
    p_fun b_p =  (p_fun)*(long*)vir; 
    p_func b_p_c = (p_func)*((long*)vir+1);
    b_p();
    b_p_c(1); 
   //b.func(2);
    A a;
    long vir1 = (*(long *)&a);
    p_fun A_p =  (p_fun)*(long*)vir1; 
    p_func A_p_c = (p_func)*((long*)vir1+1);
    //  p_fun A_p = (p_fun)(&a);
    //  p_func A_p_c = (p_func)(&a+1);
    A_p();
    A_p_c(3);
    //a.func(4);
    return 0;  
}
